package swordoffer.offer10_2;

public class Recursion {
    public int jumpFloorII(int target) {
        if (target < 2) {
            return 1;
        }
        int res = 0;
        for (int i = 0; i < target; i++) {
            res += jumpFloorII(i);
        }
        return res;
    }
}
